<template>
  <div class="common-head">
    <van-nav-bar
      :title="title"
      left-arrow
      @click-left="$router.go(-1)"
    />
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      required: true
    }
  }
}
</script>

<style lang="scss" scoped>
.common-head{
  position: fixed;
  left: 0;
  top:0;
  right: 0;
  z-index: 20;
  /deep/ .van-icon{
    font-size: 22px;
  }
}
</style>
